# coding utf-8
import os
import xml.dom.minidom
from moviepy.editor import VideoFileClip
path = "D:/sss"



from moviepy.editor import VideoFileClip

# 从视频文件创建一个VideoFileClip对象
video = VideoFileClip(path+"/ep029_sc001_cam0010_ani.mov")
print(video.duration)

n_frames = video.reader.nframes 
print(n_frames)


width = video.size[0]
height = video.size[1]
print(width)
print(height)
'''
if video.audio is None:
    print("该视频没有音频")
else:
    print("该视频具有音频")'''